luci-mod-admin-full: add sleep before sysupgrade
authorFlorian Eckert <[email protected]>
Tue, 15 Mar 2016 14:31:54 +0000 (15:31 +0100)
committerFlorian Eckert <[email protected]>
Wed, 16 Mar 2016 10:38:09 +0000 (11:38 +0100)
commit2e4dea8046eb35af8ca2ce58a041d6defff9e73a
tree1d3bf7d24741ce017368d2c6d6d0c166e2147558
parentf1190e2d07f76735e0927704de7a5cf8b37998d0
luci-mod-admin-full: add sleep before sysupgrade

- Under some conditions the system will shutdown
  uhttpd before the page will be delivered to
  the client. Waiting one second should eleminate
  this behaviour.

Signed-off-by: Florian Eckert <[email protected]>
modules/luci-mod-admin-full/luasrc/controller/admin/system.lua